package com.lee.example.service;

import com.lee.example.entity.User;
import com.lee.example.mapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author lichujun
 * @date 2019/4/22 11:04
 */
@Service
public class UserService {

    @Resource
    private UserMapper userMapper;

    public List<User> findUserByName(String userName) {
        return userMapper.findUserByName(userName);
    }
}
